Release 10.1A: OpenEdge Development:
Progress Dynamics Basic Development
Using the Object Generator
Caution: If you use the Object Generator to regenerate SDOs and you have coded custom logic into the data logic procedures, you must back up those procedures before using the Object Generator. The procedures will be overwritten by this process.The Object Generator tool creates SDOs, browsers, and viewers for all the tables you select.
![]()
To start the Objector Generator: from the AppBuilder window, select Build
Object Generator. The Object Generator tool appears, as shown in Figure 5–3.
Figure 5–3: Object Generator with multiple tables selected
![]()
A series of check boxes at the top of the window allows you to chose what types of objects to generate. In the same row is the green-arrow button, which you press to initiate the object generation. Alongside it is the Run Silent check box, which gives you the option of suppressing message display while generating objects.
Pages
The tab folder has several pages on it, each with a specific purpose:
- Objects — Displays a list tables belonging to the combo-selected database. This is for selecting the tables for which various objects will be generated. Multiple tables can be selected by using the CTRL key while clicking with the command button on the mouse. If the Data objects check box is not selected, the combo changes to display Product Module and the DataObjects belonging to the selected product module are displayed, so existing SDOs can be used to generate browsers and viewers. The green-arrow button is also disabled until an object type is selected for generation.
- SCM — Is only enabled when working through an SCM session and is for defining related options such as product module. Currently, the only SCM tool supported is Roundtable.
- Data Objects — Defines parameters related to generating SDOs. It is only enabled when the Data Objects check box is selected. Datalogic Procedure parameters are also defined here.
- DataFields — Defines parameters related to generating DataFields. It is only enabled when the DataFields check box is selected.
- Browsers — Defines parameters related to generating browsers. It is only enabled when the browsers check box is selected.
- Viewers — Defines parameters related to generating viewers. It is only enabled when the viewers check box is selected.
- Logging — Displays the progress of object generation via a two-paned display; the left pane shows a TreeView of the object generation step, while the right pane shows the details of any selected item on the TreeView. It automatically gets the focus when the object generation is initiated and is dynamically populated, so that object creation progress can be tracked. It is cleared once you select the green-arrow button again.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |